# encoding: utf-8
#sdk version: 2.2.1060.13-SNAPSHOT

from sdktest_module.utils.api_base_builder import ApiBaseBuilder, parameter

class UpdateLiveRoomInfoRespV2ApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.updateLiveRoomInfoRespV2"

	@parameter(1,"String")
	def streamRoomId(self, streamRoomId):
		return self

class GetLiveRoomInfoRespV2ApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getLiveRoomInfoRespV2"

class GetLiveRoomInfoRespV2ApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getLiveRoomInfoRespV2"

	@parameter(1,"String")
	def streamRoomId(self, streamRoomId):
		return self

	@parameter(2,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class GetLiveRoomInfoRespV1ApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getLiveRoomInfoRespV1"

	@parameter(1,"long")
	def uid(self, uid):
		return self

	@parameter(2,"int")
	def liveBzType(self, liveBzType):
		return self

	@parameter(3,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class AddRoomInfoV2ListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.addRoomInfoV2Listener"

	@parameter(1,"tv.athena.live.api.roominfov2.RoomInfoV2Listener")
	def roomInfoV2Listener(self, roomInfoV2Listener):
		return self

class RemoveRoomInfoV2ListenerApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.removeRoomInfoV2Listener"

	@parameter(1,"tv.athena.live.api.roominfov2.RoomInfoV2Listener")
	def roomInfoV2Listener(self, roomInfoV2Listener):
		return self

class BatchGetLiveRoomInfoReqV2ApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.batchGetLiveRoomInfoReqV2"

	@parameter(1,"Array")
	def streamRoomIds(self, streamRoomIds):
		return self

	@parameter(2,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class GetChannelInfoListApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.getChannelInfoList"

	@parameter(1,"int[]")
	def channelTypes(self, channelTypes):
		return self

	@parameter(2,"int[]")
	def roleIds(self, roleIds):
		return self

	@parameter(3,"int[]")
	def businessType(self, businessType):
		return self

	@parameter(4,"tv.athena.live.api.IDataCallback")
	def callback(self, callback):
		return self

class ForceNotifyLiveRoomInfoApiBuilder(ApiBaseBuilder):
	api_name = "com.demo.liveroom.autotest.AutoLivingViewModel.forceNotifyLiveRoomInfo"

	@parameter(1,"String")
	def streamRoomId(self, streamRoomId):
		return self

